#ifndef USER_TEXTEDIT_H
#define USER_TEXTEDIT_H

#include <QWidget>
#include <QTextEdit>
#include <QObject>

class user_textedit : public QWidget
{
    Q_OBJECT
public:
    QTextEdit* textedit;
    user_textedit(QWidget* parent);
    ~user_textedit();
    void my_append(const QString &text);
    void my_clear(void);

signals:
    void my_append_signal(const QString &text);
    void my_clear_signal(void);
private slots:
    void button_clear(bool rsvd);
};



#endif // USER_TEXTEDIT_H
